package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitCTypesRouter(Router *gin.RouterGroup) {
	CTypesRouter := Router.Group("cTypes").Use(middleware.OperationRecord())
	{
		CTypesRouter.POST("createCTypes", v1.CreateCTypes)   // 新建CTypes
		CTypesRouter.DELETE("deleteCTypes", v1.DeleteCTypes) // 删除CTypes
		CTypesRouter.DELETE("deleteCTypesByIds", v1.DeleteCTypesByIds) // 批量删除CTypes
		CTypesRouter.PUT("updateCTypes", v1.UpdateCTypes)    // 更新CTypes
		CTypesRouter.GET("findCTypes", v1.FindCTypes)        // 根据ID获取CTypes
		CTypesRouter.GET("getCTypesList", v1.GetCTypesList)  // 获取CTypes列表
	}
}
